package top.jiangqiang.qyblog.core.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import top.jiangqiang.qyblog.core.base.entity.BaseEntity;

import java.io.Serial;
import java.time.LocalDateTime;

/**
 * <p>
 * 主题
 * </p>
 *
 * @author JiangQiang
 * @since 2023-06-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("qy_theme")
@Schema(name = "Theme", description = "$!{table.comment}")
public class Theme extends BaseEntity {
    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "主题名称")
    private String name;

    @Schema(description = "作者信息")
    private String author;

    @Schema(description = "版本信息")
    private String version;

    @Schema(description = "仓库信息")
    private LocalDateTime url;

    @Schema(description = "主题配置")
    private String config;
}
